package lis.r1.wyd1;

public class ZliczanieTester {

	public static void main(String[] args) {

		new Thread(new Zliczanie()).start();
		try {
			Thread.sleep(200);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		new Thread(new Zliczanie()).start();
		try {
			Thread.sleep(100);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		new Thread(new Zliczanie()).start();
		try {
			Thread.sleep(4000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		System.out.println(Thread.currentThread().getName() + " = "
				+ Zliczanie.licznik);
	}

}
